package com.infoauto.opc.gateway.service;


import com.infoauto.opc.gateway.model.gtm4.EquipmentFailure;
import com.infoauto.opc.gateway.model.gtm4.Spray;

import java.util.List;

/**
 *设备故障
 */
public interface EquipmentFailureService {

    int insert(EquipmentFailure equipmentFailure);

    int update(EquipmentFailure equipmentFailure);

    List<EquipmentFailure> selectByProducTionTimeAndShift(String productionTime, Integer shift);

    EquipmentFailure select(String productionTime, Integer shift, Integer sn);

    EquipmentFailure selectById(String id);
}
